[INFO] cloning repository https://github.com/myst6re/vtun-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/myst6re/vtun-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7aa89fbf07a7faf8403c8565195a1dd0233ac068
[INFO] building myst6re/vtun-rs against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/myst6re/vtun-rs on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/myst6re/vtun-rs
[INFO] finished tweaking git repo https://github.com/myst6re/vtun-rs
[INFO] tweaked toml for git repo https://github.com/myst6re/vtun-rs written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/myst6re/vtun-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ansi_term v0.8.0
[INFO] [stderr]   Downloaded term_size v0.1.0
[INFO] [stderr]   Downloaded strsim v0.5.1
[INFO] [stderr]   Downloaded clap v2.10.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d691df678fd91095bf9a67414a6a941f22e7b94615ca7989743be653723642a0
[INFO] running `Command { std: "docker" "start" "-a" "d691df678fd91095bf9a67414a6a941f22e7b94615ca7989743be653723642a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d691df678fd91095bf9a67414a6a941f22e7b94615ca7989743be653723642a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d691df678fd91095bf9a67414a6a941f22e7b94615ca7989743be653723642a0", kill_on_drop: false }`
[INFO] [stdout] d691df678fd91095bf9a67414a6a941f22e7b94615ca7989743be653723642a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a1a696f0e36a719d45fe060e6c5a5fb94dadcbf413d30a580dbb989363233cf0
[INFO] running `Command { std: "docker" "start" "-a" "a1a696f0e36a719d45fe060e6c5a5fb94dadcbf413d30a580dbb989363233cf0", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]    Compiling libc v0.2.15
[INFO] [stderr]    Compiling unicode-width v0.1.3
[INFO] [stderr]    Compiling cfg-if v0.1.0
[INFO] [stderr]    Compiling ansi_term v0.8.0
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling unicode-segmentation v0.1.2
[INFO] [stderr]    Compiling strsim v0.5.1
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling vec_map v0.6.0
[INFO] [stderr]    Compiling bitflags v0.4.0
[INFO] [stderr]    Compiling term_size v0.1.0
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]    Compiling clap v2.10.4
[INFO] [stderr]    Compiling nix v0.6.0
[INFO] [stderr]    Compiling vtun-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `nix`?
[INFO] [stdout]  --> src/tunnel.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use nix::sys::socket::setsockopt;
[INFO] [stdout]   |     ^^^ maybe a missing crate `nix`?
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider adding `extern crate nix` to use the `nix` crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `nix`?
[INFO] [stdout]  --> src/tunnel.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nix::sys::socket::sockopt::KeepAlive;
[INFO] [stdout]   |     ^^^ maybe a missing crate `nix`?
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider adding `extern crate nix` to use the `nix` crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope
[INFO] [stdout]  --> src/tunnel.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn tunnel_net<S: Read + Write + AsRawFd>(in_c: S, out_c: S) {
[INFO] [stdout]   |                  ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Read;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope
[INFO] [stdout]  --> src/tunnel.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn tunnel_net<S: Read + Write + AsRawFd>(in_c: S, out_c: S) {
[INFO] [stdout]   |                         ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Write;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Write;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope
[INFO] [stdout]  --> src/tunnel.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn tunnel_net<S: Read + Write + AsRawFd>(in_c: S, out_c: S) {
[INFO] [stdout]   |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::os::unix::prelude::AsRawFd;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope
[INFO] [stdout]   --> src/tunnel.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn tunnel_loc<S: Read + Write + AsRawFd>(in_c: S, out_c: S) {
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope
[INFO] [stdout]   --> src/tunnel.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn tunnel_loc<S: Read + Write + AsRawFd>(in_c: S, out_c: S) {
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fmt::Write;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope
[INFO] [stdout]   --> src/tunnel.rs:25:33
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn tunnel_loc<S: Read + Write + AsRawFd>(in_c: S, out_c: S) {
[INFO] [stdout]    |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::prelude::AsRawFd;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope
[INFO] [stdout]   --> src/tunnel.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn tunnel_loop<S: Read + Write + AsRawFd>(net: S, loc: S) {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope
[INFO] [stdout]   --> src/tunnel.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn tunnel_loop<S: Read + Write + AsRawFd>(net: S, loc: S) {
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fmt::Write;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope
[INFO] [stdout]   --> src/tunnel.rs:41:34
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn tunnel_loop<S: Read + Write + AsRawFd>(net: S, loc: S) {
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::prelude::AsRawFd;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Duration` in this scope
[INFO] [stdout]   --> src/tunnel.rs:51:65
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn tunnel(mut stream: TcpStream, udp: bool, timeout: Option<Duration>) {
[INFO] [stdout]    |                                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/tunnel.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 |     if (udp) {
[INFO] [stdout]    |        ^   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 56 -     if (udp) {
[INFO] [stdout] 56 +     if udp {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/server.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::{TcpListener, TcpStream, ToSocketAddrs};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vtun-rs` due to 13 previous errors; 2 warnings emitted
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a1a696f0e36a719d45fe060e6c5a5fb94dadcbf413d30a580dbb989363233cf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1a696f0e36a719d45fe060e6c5a5fb94dadcbf413d30a580dbb989363233cf0", kill_on_drop: false }`
[INFO] [stdout] a1a696f0e36a719d45fe060e6c5a5fb94dadcbf413d30a580dbb989363233cf0
